package com.wceManage.services.exception;

import com.wceManage.commons.exception.AbstractException;
import com.wceManage.services.exception.msg.MatchImportErrorMsg;

/**
 * MatchImportException
 * 导入赛事类异常
 *
 */
public class MatchImportException extends AbstractException {

    private static final long serialVersionUID = -8628521223663747387L;

    public MatchImportException(int code, String msg) {
        super(code, msg);
    }

    public MatchImportException(MatchImportErrorMsg errorMsg, Object... obj) {
        super(errorMsg.getCode(), String.format(errorMsg.getMsg(), obj));
    }
}
